//
//  MPMoviePlayerView.h
//  MPMoviePlayerTest
//
//  Created by mac mini 20 on 1/12/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>

@interface MPMoviePlayerView : UIView <UIGestureRecognizerDelegate>
{
    //MPMoviePlayerController *player;
    NSArray *urlArray;
    NSUInteger index;
    BOOL changedBySwipe;  // changed index by swipe gesture
}

+ (id)shareMoviePlayer;
- (void) playMovieAtURL: (NSURL*)theURL; 
- (void) playMovieWithURLArray: (NSArray*)urlArrayNew withIndex:(NSUInteger)indexNew; 

@end
